package com.normal.zbase.impl.http.impl.bean

/**
 * 三疯
 * *************************
 *
 * *************************
 */
data class OrderBean(
    var code: String? = null,
    var error: Boolean? = null,
    var orderDTOList: List<OrderDTO?>? = null,
    var success: Boolean? = null
) {
    data class OrderDTO(
        var bizType: String? = null,
        var channel: String? = null,
        var excludeProcedureGoodsList: List<ExcludeProcedureGoods?>? = null,
        var orderTime: Long? = null,
        var orderType: String? = null,
        var patientBedId: String? = null,
        var patientHouseId: String? = null,
        var patientOrderId: String? = null,
        var procedureDTOList: List<ProcedureDTO?>? = null,
        var userId: String? = null
    ) {
        data class ExcludeProcedureGoods(
            var goodsId: String? = null,
            var goodsName: String? = null,
            var goodsNum: Int? = null
        )

        data class ProcedureDTO(
            var goodsDTOList: List<GoodsDTO?>? = null,
            var procedureId: String? = null,
            var procedureNum: Int? = null
        ) {
            data class GoodsDTO(
                var goodsId: String? = null,
                var goodsName: String? = null,
                var goodsNum: Int? = null
            )
        }
    }
}